package com.njym.java.security.app.alipay;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "payment.alipay")
public class AliPayProperties {
    private  String openApiDomain;

    private  String mcloudApiDomain;

    private  String pid;

    private  String appAuthToken;

    private  String appid;

    private  String privateKey;

    private  String publicKey;

    private  String alipayPublicKey;

    private  String signType;

    private  int maxQueryRetry;

    private  long queryDuration;

    private  int maxCancelRetry;

    private  long cancelDuration;

    private  long heartbeatDelay;

    private  long heartbeatDuration;

    /**
     * 格式
     */
    private String format = "json";

    /**
     * 编码
     */
    private String charset = "utf-8";

    /**
     * 同步地址
     */
    private String returnUrl;

    /**
     * 异步地址
     */
    private String notifyUrl;

    /**
     * 代理充值后回调
     */
    private String proxyNotifyUrl;

    /**
     * 积分充值回调
     */
    private String integralNotifyUrl;

    private String transOutNo;

    private AliPayProperties() {
    }

    public  String getOpenApiDomain() {
        return openApiDomain;
    }

    public  void setOpenApiDomain(String openApiDomain) {
        this.openApiDomain = openApiDomain;
    }

    public  String getMcloudApiDomain() {
        return mcloudApiDomain;
    }

    public  void setMcloudApiDomain(String mcloudApiDomain) {
        this.mcloudApiDomain = mcloudApiDomain;
    }

    public  String getPid() {
        return pid;
    }

    public  void setPid(String pid) {
        this.pid = pid;
    }

    public  String getAppAuthToken() {
        return appAuthToken;
    }

    public  void setAppAuthToken(String appAuthToken) {
        this.appAuthToken = appAuthToken;
    }

    public  String getAppid() {
        return appid;
    }

    public  void setAppid(String appid) {
        this.appid = appid;
    }

    public  String getPrivateKey() {
        return privateKey;
    }

    public  void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public  String getPublicKey() {
        return publicKey;
    }

    public  void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public  String getAlipayPublicKey() {
        return alipayPublicKey;
    }

    public  void setAlipayPublicKey(String alipayPublicKey) {
        this.alipayPublicKey = alipayPublicKey;
    }

    public  String getSignType() {
        return signType;
    }

    public  void setSignType(String signType) {
        this.signType = signType;
    }

    public  int getMaxQueryRetry() {
        return maxQueryRetry;
    }

    public  void setMaxQueryRetry(int maxQueryRetry) {
        this.maxQueryRetry = maxQueryRetry;
    }

    public  long getQueryDuration() {
        return queryDuration;
    }

    public  void setQueryDuration(long queryDuration) {
        this.queryDuration = queryDuration;
    }

    public  int getMaxCancelRetry() {
        return maxCancelRetry;
    }

    public  void setMaxCancelRetry(int maxCancelRetry) {
        this.maxCancelRetry = maxCancelRetry;
    }

    public  long getCancelDuration() {
        return cancelDuration;
    }

    public  void setCancelDuration(long cancelDuration) {
        this.cancelDuration = cancelDuration;
    }

    public  long getHeartbeatDelay() {
        return heartbeatDelay;
    }

    public  void setHeartbeatDelay(long heartbeatDelay) {
        this.heartbeatDelay = heartbeatDelay;
    }

    public  long getHeartbeatDuration() {
        return heartbeatDuration;
    }

    public  void setHeartbeatDuration(long heartbeatDuration) {
        this.heartbeatDuration = heartbeatDuration;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getTransOutNo() {
        return transOutNo;
    }

    public void setTransOutNo(String transOutNo) {
        this.transOutNo = transOutNo;
    }

    public String getProxyNotifyUrl() {
        return proxyNotifyUrl;
    }

    public void setProxyNotifyUrl(String proxyNotifyUrl) {
        this.proxyNotifyUrl = proxyNotifyUrl;
    }

    public String getIntegralNotifyUrl() {
        return integralNotifyUrl;
    }

    public void setIntegralNotifyUrl(String integralNotifyUrl) {
        this.integralNotifyUrl = integralNotifyUrl;
    }
}
